//
//  MainViewController.h
//  BosidengIphone
//
//  Created by  on 11-12-25.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TopMenuViewController.h"

@interface MainViewController : UIViewController<TopMenuViewDelegate> {
    TopMenuViewController *topMenuViewController;
    UILabel *titleLabel;
    NSMutableArray *naviViewControllers;
}

@property(strong, nonatomic)TopMenuViewController *topMenuViewController;
@property(strong, nonatomic)IBOutlet UIView *contentView;
@property(strong, nonatomic)IBOutlet UIButton *backView;
@property(strong, nonatomic)IBOutlet UILabel *titleLabel;
@property(strong, nonatomic)IBOutlet UIView *headView;
@property(strong, nonatomic)UIViewController *contentViewController;


- (IBAction)showTopMenu:(id)sender;

- (void)popViewController;

- (void)pushViewController:(UIViewController *)viewController;

- (void)changeTopViewController:(UIViewController *)viewController;

- (IBAction)backView:(id)sender;

- (void)changeTitle:(NSString *)title;

- (void)rotateViewLandscapeLeft;

- (void)hiddenHeadView;

- (void)showHeadView;

- (UIViewController *)currentViewController;

@end
